package com.leizi.igym.dto;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * @Author: leizi0110
 * @CreateTime: 2024-04-07  11:55
 * @Description:
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class PlanDTO implements Serializable {

    @Serial
    private static final long serialVersionUID = -5627905677374192016L;
    // 计划id
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    // 计划标题
    private String title;

    // 计划内容
    private String content;

    // 计划准备完成时间
    private LocalDate doDate;

    //  计划状态
    private Integer status;

}
